package com.cawis.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

//调用服务名
@FeignClient(name = "producer-service")
public interface ConsumerFeign{

    //被调用接口
    @GetMapping("/getConfig")
    String getConfig();

}
